package Application.Controller;

import javafx.fxml.FXML;
import Application.Tool.*;

public class StrawSettingsController {
    @FXML public void onSampleDotClicked() {
        Straw.getInstance().setMode(Straw.MODE_SAMPLEDOT);
    }

    @FXML public void on3x3Clicked() {
        Straw.getInstance().setMode(Straw.MODE_3x3);
    }

    @FXML public void on5x5Clicked() {
        Straw.getInstance().setMode(Straw.MODE_5x5);
    }

    @FXML public void onCrossClicked() {
        Straw.getInstance().setMode(Straw.MODE_CROSS);
    }

    @FXML public void onXClicked() {
        Straw.getInstance().setMode(Straw.MODE_X);
    }
}
